package com.cy.personer.biz;

import com.cy.personer.bean.MoneyDetails;
import com.cy.personer.bean.RoleUserOptions;
import com.cy.personer.bean.User;

import java.util.List;

public interface OperationUserBiz {
    User getUser(String cardNumber);//查询客户
    List<RoleUserOptions> getRoleUserOptions(int roleId); //根据不同的角色ID获取不同的操作菜单
    int recharge(User user,MoneyDetails moneyDetails);//为客户充值
    List<MoneyDetails> getMoneyDetails(MoneyDetails moneyDetails);//根据用户ID查询资金明细记录
    int updataUserMoney(User user,MoneyDetails moneyDetails);//更新用户资金
}
